/*
 * Course.h
 *
 *  Created on: Nov 12, 2012
 *      Author: naduvec
 */

#ifndef COURSE_H_
#define COURSE_H_

#include <stdio.h>
#include <string.h>
#include "../include/LinkedList.h"
using namespace std;

class Student;
class List;
class Course
{
public:
	virtual void teach();
	virtual void reg(Student &s)=0;
	void eraseRegStudent(Student &s);
	string getName();
	int getMinimum();
	int getSemester();

protected:
	string name;
	int semester;
	int minimumGrade;
	List *regStudents;
};

#endif /* COURSE_H_ */
